package com.hujun.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginController {
	
	@RequestMapping("/login")
	public String login(String username,String pwd){
		
		return "登录成功111！";
	}
	
	@RequestMapping("/exit")
	public String exit(HttpServletRequest request){
		
		return "退出成功！";
	}
	
	@RequestMapping("/updatePwd")
	public String updatePwd(HttpServletRequest request){
		
		return "修改成功！!!!";
	}
}
